package com.log4jviewer.ui.preferences.additional;

import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.RGB;

/**
 * Class represents simple model for 'Log level display' in additional preference page.
 * 
 * @author <a href="mailto:rd.ryly@gmail.com">Ruslan Diachenko</a>
 */
public class LogLevelDisplayModel {

    private String levelName;

    private RGB foreground;

    private RGB background;

    private Image image;

    public LogLevelDisplayModel(final String levelName, final Image image) {
        this.levelName = levelName;
        this.image = image;
    }

    public RGB getForeground() {
        return foreground;
    }

    public void setForeground(final RGB foreground) {
        this.foreground = foreground;
    }

    public RGB getBackground() {
        return background;
    }

    public void setBackground(final RGB background) {
        this.background = background;
    }

    public String getLevelName() {
        return levelName;
    }

    public Image getImage() {
        return image;
    }
}
